<html xmlns="http://www.w3.org/1999/xhtml" class="hb-loaded">
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>
			{:cms('title')} - {:cms('subheading')} - Powered by wjjyzx.com
		</title>
		<meta name="keywords" content="{:cms('keywords')}">
		<meta name="description" content="{:cms('description')}">	
 	    {include file="app/template/pc/zongbz/header.html"}
 	    <link rel="stylesheet" href="*PC*/xin/index.css">
        <div class="main" id="main">
            <!-- 面包屑 -->
            <div class="breadcrumb">
                当前位置 ：
                <a href="/">
                    首页
                </a>
            </div>
            <!-- 轮播图 -->
            <div class="show">
                <div class="show-left">
                    <div class="swiper-container swiper-container-initialized swiper-container-horizontal">
                        <div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-2180px, 0px, 0px);">
                        	{volist name=":fun_s('model_whole',array('open'=>1),'id desc',1000,1)" id="vo"}
                        	{if condition="fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'slide') eq '1'"}
                            <div class="swiper-slide swiper-slide-prev" data-swiper-slide-index="0"
                            style="width: 1090px;">
                                <a href="*URL*/s_{:m($vo['model'])}_{$vo.tid}.html" title="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')}">
                                    <img src="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'pic')}"
                                    alt="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')}" title="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')}">
                                </a>
                                <p class="title">
                                    {:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} 
                                </p>
                            </div>
                            {/if}
                            {/volist}
                        </div>
                        <div class="swiper-pagination swiper-pagination-bullets">
                            <span class="swiper-pagination-bullet">
                            </span>
                            <span class="swiper-pagination-bullet swiper-pagination-bullet-active">
                            </span>
                            <span class="swiper-pagination-bullet">
                            </span>
                            <span class="swiper-pagination-bullet">
                            </span>
                            <span class="swiper-pagination-bullet">
                            </span>
                            <span class="swiper-pagination-bullet">
                            </span>
                        </div>
                        <!-- Add Arrows -->
                        <div class="swiper-button-next" tabindex="0" role="button" aria-label="Next slide">
                        </div>
                        <div class="swiper-button-prev" tabindex="0" role="button" aria-label="Previous slide">
                        </div>
                        <span class="swiper-notification" aria-live="assertive" aria-atomic="true">
                        </span>
                    </div>
                </div>
                <div class="show-right">
                    <div class="comp-header-bold" wi-tab="show">
                        <p class="list on" wi-tab-index="0">
                            今日最新
                        </p>
                        <p class="list" wi-tab-index="1">
                            本月排行
                        </p>
                        <p class="list" wi-tab-index="2">
                            随机推荐
                        </p>
                    </div>
                    <div class="comp-message show-0" style="display: block;">
                    	
                    	{volist name=":fun_s('model_whole',array('open'=>1),'time desc',7,1)" id="vo"}
                        <div class="message-list">
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.tid}.html" class="title" title="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} ">
                                <span class="title_color">
                                    {:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} 
                                </span>
                            </a>
                            <p class="time">
                                {$vo.time|date="m-d",###} 
                            </p>
                        </div>
                        {/volist}
                        
                    </div>
                    <div class="comp-message show-1" style="display: none;">
                    	{volist name=":fun_sdx('model_whole',array(),Date_k('-30'),Date_k('1'),'view desc',7)" id="vo"}
                        <div class="message-list">
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.tid}.html" class="title" title="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} ">
                                <span class="title_color">
                                    {:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} 
                                </span>
                            </a>
                            <p class="time">
                                {$vo.time|date="m-d",###} 
                            </p>
                        </div>
                        {/volist}
                        
                    </div>
                    <div class="comp-message show-2" style="display: none;">
                    	{volist name=":fun_sj('model_whole',array('open'=>1,),4)" id="vo"}
                        <div class="message-list">
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.tid}.html" class="title" title="{:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} ">
                                <span class="title_color">
                                    {:fun_sc_p(m($vo['model']), array('id'=>$vo['tid']), 'title')} 
                                </span>
                            </a>
                            <p class="time">
                                {$vo.time|date="m-d",###} 
                            </p>
                        </div>
                        {/volist}
                    </div>
                </div>
            </div>

            <!-- 通用 -->
            {foreach name=":fun_s('cate',array('open'=>1,'index'=>1),'px desc',100,1)" item="v" key="k"}
            <div class="currency">
                <div class="currency-left">
                    <div class="comp-header-bold">
                        <p class="list on">
                            {$v.name} 
                        </p>
                        <a href="*URL*/m_{$v.alias}.html" class="other">
                            更多&gt;&gt;
                        </a>
                    </div>
                    <div class="show-img">
                    {volist name=":fun_sd(m($v['model']),array('f.open'=>1,'f.settop'=>1),$v['id'],'times desc',2,0)" id="vo"}
                        <div class="comp-img-list ">
                        	<div align="center" style="background-color: #f8faf9; border: 10px solid #f3f0ea;filter: saturate(150%);">
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" title="{$vo.title}" >
                                <img src="{$vo.pic}" title="{$vo.title}" alt="{$vo.title}" style="height: 364px;">
              
                            </a> 
                            </div>
                            <div class="info">
                                <p class="info-title">
                                    <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" title="{$vo.title}">
                                        {$vo.title}
                                    </a>
                                </p>
                                <p class="info-sort">
                                    <a href="*URL*/m_{$v.alias}.html" title="{$v.name}">
                                        {$v.name}
                                    </a>
                                </p>
                            </div>
                            <div class="see">
                                <p class="see-number">
                                    观看{$vo.view} 次
                                </p>
                                <p class="see-hot">
                                    浏览热度
                                </p>
                            </div>
                        </div>
                        {/volist}
                    </div>
                </div>
                <div class="currency-right comp-height-430">
                    <div class="comp-header-bold" wi-tab="{$v.alias}">
                        <p class="list on" wi-tab-index="0">
                            最近更新
                        </p>
                        <p class="list" wi-tab-index="1">
                            热门排行
                        </p>
                    </div>
                    <div class="comp-message {$v.alias}-0" style="display: block;">
                    	{volist name=":fun_sd(m($v['model']),array('f.open'=>1),$v['id'],'times desc',6,0)" id="vo"}
                        <div class="message-list">
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" class="title" title="{$vo.title}">
                                <span class="title_color">
                                    {$vo.title} 
                                </span>
                            </a>
                            <p class="time">
                                {$vo.time|date="m-d",###} 
                            </p>
                        </div>
                        {/volist}
                        
                    </div>
                    <div class="comp-message {$v.alias}-1" style="display: none;">
                        {volist name=":fun_sd(m($v['model']),array('f.open'=>1),$v['id'],'view desc',6,0)" id="vo"}
                        <div class="message-list">
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" class="title" title="{$vo.title}">
                                <span class="title_color">
                                    {$vo.title} 
                                </span>
                            </a>
                            <p class="time">
                                {$vo.time|date="m-d",###} 
                            </p>
                        </div>
                        {/volist}
                        
                    </div>
                </div>
            </div>
            {/foreach}
 

            <!-- 友情链接 -->
            <div class="outside">
                <div class="comp-header-bold" wi-tab="show">
                    <p class="border-title">
                        友情链接
                    </p>
                    {:h('link')}
 
                </div>
                <div class="outside-content">
                	{volist name=":fun_s('link',array('open'=>1,'tid'=>3),'px desc',1000,1)" id="vo"}
                    <a class="outside-list" href="{$vo.lianjie}" {if condition="$vo['xin'] eq '1'"}target="_blank"{/if}>
								{$vo.name}
                    </a>
                    {/volist} 
                </div>
            </div>
        </div>
<script src="*PC*/xin/swiper.min.js"></script>
<script>
function wiTabStart(name = null) {
  if (name == null) {
    throw "nam is null";
    return;
  }
  $(`div[wi-tab="${name}"] .list`).map((index, item) => {
    $(item).attr("wi-tab-index", index);

    $(`.${name}-${index}`).css("display", "none");
  });

  $(`.${name}-0`).css("display", "block");

  $(`div[wi-tab="${name}"] .list`).click(function() {
    let wiTabIndex = $(this).attr("wi-tab-index");
    $(`div[wi-tab="${name}"] .list`).map((index, item) => {
      $(item).removeClass("on");
      $(`.${name}-${index}`).css("display", "none");
    });

    $(this).addClass("on");
    $(`.${name}-${wiTabIndex}`).css("display", "block");
  });
}
wiTabStart("show");
wiTabStart("two");
wiTabStart("three");
wiTabStart("four");
{foreach name=":fun_s('cate',array('open'=>1),'px desc',100,1)" item="v" key="k"}
wiTabStart("{$v.alias}");
{/foreach}
var swiper = new Swiper(".swiper-container", {
  loop : true,
  pagination: {
    el: ".swiper-pagination"
  },
  autoplay: {
	delay: 2000,
	disableOnInteraction: false,
  },  
  navigation: {
    nextEl: ".swiper-button-next",
    prevEl: ".swiper-button-prev"
  }
});
</script>
 {include file="app/template/pc/zongbz/footer.html"}